/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package polymorphism;

/**
 *
 * @author Iskandar Sarkawi
 */
public class Animal {
    private int intLegs = 2;
    //private int intEyes = 2;

    public void eat(){
        System.out.println("yum");
    }

    public int getLegs(){
        return intLegs;
    }
}
